/* eslint-disable no-debugger */
import Vue from 'vue'
import Vant from 'vant'

import { Message } from 'element-ui'
import 'babel-polyfill'

import 'normalize.css'
import Kunkka from '@lernatmp/kunkka/src'
import '@/plugins/symui.js'
import '@/plugins/umy-ui.js'

import { Table, Tooltip, TableColumn, DatePicker } from 'element-ui'

import 'vant/lib/index.css'

import 'umy-ui/lib/theme-chalk/index.css'// 引入样式

import App from './App.vue'
import router from './router'

const _ = require('lodash') // eslint-disable-line no-unused-vars

import i18nlang from './lang/index' // 项目语言包

// eslint-disable-next-line no-unused-vars
import store from './store'

// markdown
import 'github-markdown-css/github-markdown.css'
import '@/styles/markdownglobal.css'

Vue.config.productionTip = false

// 挂载到$message上
Vue.prototype.$message = Message
// debugger
Vue.use(Kunkka, {
  lang: 'zh',
  ...i18nlang
})

Vue.use(Table)
Vue.use(TableColumn)
Vue.use(Tooltip)
Vue.use(DatePicker)
Vue.use(Vant)

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

